package com.xltt.vehicleControl.contants;


import com.xltt.vehicleControl.BuildConfig;


public class Constants {

    /**
     * 阿里推送消息参数
     * APPID = protonlink_01(手机)
     * ALIPUSHID = 31273906(手机)
     */
    public static final String APPID = "atlas_01";
    public static final String GAP = "APP";
    public static final String APPTYPE = "ANDROID";
    public static final String ALIPUSHID = "333390735";
    public static final String DEVICECLASS = "1";
    public static final String MODELCODE = "SM-G9730";
    public static final String PUSHTYPE = "ali";


    public static final String VEHICLE_CMD_LIST = "vehicle_cmd_list";
    public static final String VEHICLE_CONSUME_INFO = "vehicle_consume_info";
    public static final boolean DEBUG = false;//debug版本数据保存xml，release数据保存在settings数据库
    public static final String FIRST_BOOT = "vechile_first_boot";//应用是否第一次启动，如果是第一次启动默认显示登录界面，不显示车信息界面

    /**
     * 服务器请求地址
     * @return
     */
    public static String getHost() {
        if (Constants.DEBUG) {
            return BuildConfig.API_HOST_DEBUG;
        } else {
            return BuildConfig.API_HOST_RELEASE;
        }
    }

}
